// $Id: Group.java 22 2011-09-16 19:19:23Z huijzer@gmail.com $
package lime.model;

import lime.Activator;

import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.ui.model.IWorkbenchAdapter;
import org.eclipse.ui.plugin.AbstractUIPlugin;

public class Group extends RepositoryObject implements IWorkbenchAdapter {

	private String groupClass; 
	
	public Group(String objectId, String objectName) {
		super(objectId, objectName);
	}

	public String getGroupClass() {
		return groupClass;
	}
	
	public void setGroupClass(String groupClass) {
		this.groupClass = groupClass;
	}
	
	@Override
	public Object[] getChildren(Object o) {
		return new Object[]{};
	}

	@Override
	public ImageDescriptor getImageDescriptor(Object object) {
		return AbstractUIPlugin.imageDescriptorFromPlugin(Activator.PLUGIN_ID, "icons/users.png");
	}

	@Override
	public String getLabel(Object o) {
		return getObjectName();
	}

	@Override
	public Object getParent(Object o) {
		return null;
	}

}
